/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ubbcluj.dbmanagementserver.model;

import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author Bea
 */
@XmlType
public class TableStructure {

    private List<Attribute> attributes;

    public TableStructure(List<Attribute> attributes) {
        this.attributes = attributes;
    }

    public List<Attribute> getAttributes() {
        return attributes;
    }

    @XmlElement(name = "attribute")
    public void setAttributes(List<Attribute> attributes) {
        this.attributes = attributes;
    }

}
